<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                <html xmlns="http://www.w3.org/1999/xhtml">
                        <head>
                                <?php echo $this->Html->charset(); ?>
                                       <title>
                                             <?php echo "Eventos JM" ?>
                                       </title>
                                 <?php
		

                                echo $this->Html->css('layout');
                                
                                echo $this->fetch('meta');
                                echo $this->fetch('css');
                                echo $this->fetch('script');
                                
                                echo $this->fetch('js');
                                
                                echo $this->Html->script('scripts');
                                
                                echo $this->Html->script('jquery-1.4.1.min.js');
                                echo $this->Html->script('jquery.easing.1.3.js');
                                echo $this->Html->script('jquery.jcarousel.pack.js');
                                echo $this->Html->script('jquery.jcarousel.setup.js');
                                
	?>
</head>
<body id="top">
    <div class="wrapper col1">
        <div id="topbar">
        <?php echo $this->Html->link($this->Html->image('facebook_32.png', array('alt' => $cakeDescription, 'border' => '0', 'width' => '40px','height'=>'40px')),'http://www.facebook.com/pages/Eventos-de-Jo%C3%A3o-Monlevade/420376124722794',array('target' => '_blank', 'escape' => false));?>
        <?php echo $this->Html->link($this->Html->image('twitter_32.png', array('alt' => $cakeDescription, 'border' => '0', 'width' => '40px','height'=>'40px')),'https://twitter.com/',array('target' => '_blank', 'escape' => false));?>
        <?php echo $this->Html->link($this->Html->image('youtube_32.png', array('alt' => $cakeDescription, 'border' => '0', 'width' => '40px','height'=>'40px')),'http://www.youtube.com',array('target' => '_blank', 'escape' => false));?>
        <?php echo $this->Html->link($this->Html->image('myspace_32.png', array('alt' => $cakeDescription, 'border' => '0', 'width' => '40px','height'=>'40px')),'http://br.myspace.com/',array('target' => '_blank', 'escape' => false));?>
          
              
            <div class="login">
               
                <?php echo $this->Session->read('Auth.User.username'); ?> 
                <?php echo $this->Html->link($this->Html->image('login.png', array('alt' => $cakeDescription, 'width' => '100px','height'=>'30px')),array('controller'=>'users','action'=>'login'),array('target' => '_top', 'escape' => false));?>
                <?php echo $this->Html->link($this->Html->image('logout.png', array('alt' => $cakeDescription, 'width' => '100px','height'=>'30px')),array('controller'=>'users','action'=>'logout'),array('target' => '_top', 'escape' => false));?>
           </div>
            
            
       </div>
    </div>
              <div class="wrapper col2">
		<div id="header">
                     <div class="left">
                             <h1>Eventos Joao Monlevade</h1>
                             <p>Divulgue seu evento sem custo ! ! !</p>
                     </div>
                         
                          <br class="clear" />
    
                 </div>
		</div>
    <div class="wrapper col3">
  <div id="topnav">
    <ul>
      <li><?php echo $this->Html->link('Home',array('controller'=>'pages','action'=>'principal'))?></li>
      <li><?php echo $this->Html->link('Quem Somos',array('controller'=>'pages','action'=>'display','quemsomos'))?></li>
    
     <li><a href="#">Eventos</a>
        <ul>
          <li><?php echo $this->Html->link('Gerenciar',array('controller'=>'Eventos','action'=>'index'))?></li>
          <li><?php echo $this->Html->link('Cadastrar',array('controller'=>'Eventos','action'=>'add'))?></li>
        </ul>
      </li>

      <li><?php echo $this->Html->link('Agenda',array('controller'=>'Eventos','action'=>'agenda'))?></li>
      <li><?php echo $this->Html->link('Cadastro de Usuário',array('controller'=>'users','action'=>'add'))?></li>
      <li><?php echo $this->Html->link('Contato',array('controller'=>'contatos','action'=>'add'))?></li>
    
    
    </ul>
    <br class="clear" />
  </div>
</div>
   
    <div>
		

			<?php echo $this->Session->flash(); ?>
                        <?php echo $this->Session->flash('auth'); ?>
        
			<?php echo $this->fetch('content'); ?>
                   
                   
		
       
    </div>

 <div class="wrapper col7">
  <div id="copyright">Site Desenvolvindo na Disciplina Sistemas para Web na UFOP<br/>Alunos: Dagson P.V Souza<?php echo $this->Html->link($this->Html->image('facebook_32.png', array('alt' => $cakeDescription, 'border' => '0', 'width' => '20px','height'=>'20px')),'http://www.facebook.com/photo.php?fbid=512161625514326&set=a.262481130482378.66704.100001614792527&type=1&ref=nf#!/dagson.patrick',array('target' => '_blank', 'escape' => false));?> e Carlos Alexandre <?php echo $this->Html->link($this->Html->image('facebook_32.png', array('alt' => $cakeDescription, 'border' => '0', 'width' => '20px','height'=>'20px')),'http://www.facebook.com/photo.php?fbid=512161625514326&set=a.262481130482378.66704.100001614792527&type=1&ref=nf#!/carlosalexandre.rodrigues.710?fref=ts',array('target' => '_blank', 'escape' => false));?><br/>
  </div>
</div>

</body>
</html>
